Optimal. Leaf size=72 \[ \frac{b x \, _2F_1\left (1,\frac{1}{n};1+\frac{1}{n};-\frac{b x^n}{a}\right )}{a (b c-a d)}-\frac{d x \, _2F_1\left (1,\frac{1}{n};1+\frac{1}{n};-\frac{d x^n}{c}\right )}{c (b c-a d)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0258087, antiderivative size = 72, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.105, Rules used = {391, 245} \[ \frac{b x \, _2F_1\left (1,\frac{1}{n};1+\frac{1}{n};-\frac{b x^n}{a}\right )}{a (b c-a d)}-\frac{d x \, _2F_1\left (1,\frac{1}{n};1+\frac{1}{n};-\frac{d x^n}{c}\right )}{c (b c-a d)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 391
Rule 245
Rubi steps
\begin{align*} \int \frac{1}{\left (a+b x^n\right ) \left (c+d x^n\right )} \, dx &=\frac{b \int \frac{1}{a+b x^n} \, dx}{b c-a d}-\frac{d \int \frac{1}{c+d x^n} \, dx}{b c-a d}\\ &=\frac{b x \, _2F_1\left (1,\frac{1}{n};1+\frac{1}{n};-\frac{b x^n}{a}\right )}{a (b c-a d)}-\frac{d x \, _2F_1\left (1,\frac{1}{n};1+\frac{1}{n};-\frac{d x^n}{c}\right )}{c (b c-a d)}\\ \end{align*}
Mathematica [A] time = 0.0340111, size = 64, normalized size = 0.89 \[ \frac{x \left (a d \, _2F_1\left (1,\frac{1}{n};1+\frac{1}{n};-\frac{d x^n}{c}\right )-b c \, _2F_1\left (1,\frac{1}{n};1+\frac{1}{n};-\frac{b x^n}{a}\right )\right )}{a c (a d-b c)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.711, size = 0, normalized size = 0. \begin{align*} \int{\frac{1}{ \left ( a+b{x}^{n} \right ) \left ( c+d{x}^{n} \right ) }}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{{\left (b x^{n} + a\right )}{\left (d x^{n} + c\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{1}{b d x^{2 \, n} + a c +{\left (b c + a d\right )} x^{n}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\left (a + b x^{n}\right ) \left (c + d x^{n}\right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{{\left (b x^{n} + a\right )}{\left (d x^{n} + c\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]